﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;

namespace OhioState.Controls
{
    public partial class NewDepthBufferDialog : Form
    {
        public NewDepthBufferDialog()
        {
            InitializeComponent();
            this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
        }

        public OhioState.Graphics.IDepthBuffer CreateDepthBuffer()
        {
            return this.newDepthBufferControl1.CreateDepthBuffer();
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
